package anayler;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import collector.Collector;
@Component
public class ClustorAnalyser implements Anayler {
	@Resource(name="uc")
	private Collector collector;
	
	public void setCollector(Collector collector) {
		this.collector = collector;
	}

	@Override
	public void anaylyes() {
		collector.collect();
		System.out.println("Analyes clustor...");
	}
}
